module ArticlesHelper

  def had_buy? article
    article.buyers.include? article
  end

  def clean_newline content
    content.gsub(/\n/,'').gsub(/\r/,'')
  end
end
